*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
     background-image: linear-gradient(to right, #a8caba 0%, #5d4157 100%);
}
.wrap{
    /* position: relative; */
    width: 1100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    padding: 30px;
}
.wrap .item{
   /*  position: relative; */
    max-width: 300px;
    height: 215px;
    background: #fff;
    margin: 30px 10px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: 0.3s ease-in-out;
}
.wrap .item:hover{
    height: 420px;
}
.wrap .item .photo{
    position: relative;
    width: 260px;
    height: 241px;
    top: -60px;
    left: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 1;
}
.wrap .item .photo img{ 
    max-width: 100%;
    border-radius: 4px;
}
.wrap .item .content{
    position: relative;
   /*  width: 100%;
    height: 100px; */
    margin-top: -140px;
    padding: 10px 15px;
    text-align: center;
    color: #111;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;
}
.wrap .item:hover .content{
    visibility: visible;
    opacity: 3;
    margin-top: -40px;
    transition-delay: 0.3s;
}
